#include <stdio.h>
#include <conio.h>
#include <iostream>

using namespace std;

class CRectangle
{
	int x,y;
public:
	void SetValues(int a,int b);
	int area();

};

void CRectangle::SetValues(int a,int b)
{
	x=a;
	y=b;
}

int CRectangle::area()
{
	return(x*y);
}

int main()
{
	CRectangle *rect = new CRectangle();
	rect ->SetValues(3,4);
	cout<<"area : "<<rect->area();
	system("pause");
	delete rect;
	return 0;

}